Class CesopValidationException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
eu.europa.ec.taxud.cesop.validation.CesopValidationException
All Implemented Interfaces:
Serializable

public class CesopValidationException extends RuntimeException
General CESOP runtime exception.
See Also:
  • Constructor Details

    • CesopValidationException

      public CesopValidationException(String message, ValidationError validationError)
      Instantiates a new Cesop validation exception.
      Parameters:
      message - the message
      validationError - the validation error
    • CesopValidationException

      public CesopValidationException(String message)
      Constructor.
      Parameters:
      message - the exception message
    • CesopValidationException

      public CesopValidationException(String message, Throwable cause)
      Constructor.
      Parameters:
      message - message the exception message
      cause - the exception cause
  • Method Details

    • getValidationError

      public ValidationError getValidationError()
      Gets validation error.
      Returns:
      the validation error